from django import forms

from . import models


class CreateOrderForm(forms.ModelForm):

    """ Форма для создания заказа """

    class Meta:
        model = models.Order
        fields = ['first_name', 'last_name', 'email', 'address', 'postal_code', 'city']
